#pragma once

#include "Row.h"
#include "Scanner.h"

class CTableParsing
{
public:
	CTableParsing(CScanner & scanner);
    ~CTableParsing();

    CRow GetRow(unsigned index) const;
    CRow GetRow(std::string const & rowName) const;
private:
    void Init(); 

	CScanner & m_scanner;
    std::vector<CRow> m_rows;
};